//#include include/takeable.js

var label = "Bag of Tent Pegs";
var version = "1354935113";
var name_single = "Bag of Tent Pegs";
var name_plural = "Bags of Tent Pegs";
var article = "a";
var description = "<i>This is a lost artifact, known only through ancient stories of long-deceased ancestors, and has not been discovered in Ur.<\/i>\r\n\r\nEven by the standards of the Lemish of the beforetimes, these tent pegs are tiny. Discovered by Birdie and Swift when they were just two particularly inquisitive children, pegged out in a curious star-like shape on a hillside down near a far off shore, surrounded by broken string. Systematically, they unpegged each one, and brought them home to pin maps to the walls.";
var is_hidden = false;
var has_info = true;
var has_infopage = true;
var proxy_item = null;
var is_routable = false;
var adjusted_scale = 1;
var stackmax = 1;
var base_cost = 0;
var input_for = [];
var parent_classes = ["artifact_bag_of_tent_pegs", "takeable"];
var has_instance_props = false;

var classProps = {
	"collection_id"	: ""	// defined by takeable
};

var instancePropsDef = {};

var verbs = {};

verbs.pickup = { // defined by takeable
	"name"				: "pick up",
	"ok_states"			: ["in_location"],
	"requires_target_pc"		: false,
	"requires_target_item"		: false,
	"include_target_items_from_location"		: false,
	"is_default"			: false,
	"is_emote"			: false,
	"sort_on"			: 50,
	"tooltip"			: "Put it in your pack",
	"is_drop_target"		: false,
	"proximity_override"			: 800,
	"conditions"			: function(pc, drop_stack){

		return this.takeable_pickup_conditions(pc, drop_stack);
	},
	"handler"			: function(pc, msg, suppress_activity){

		return this.takeable_pickup(pc, msg);
	}
};

verbs.give = { // defined by takeable
	"name"				: "give",
	"ok_states"			: ["in_pack"],
	"requires_target_pc"		: true,
	"requires_target_item"		: false,
	"include_target_items_from_location"		: false,
	"is_default"			: false,
	"is_emote"			: false,
	"sort_on"			: 51,
	"tooltip"			: "Or, drag item to player",
	"is_drop_target"		: false,
	"conditions"			: function(pc, drop_stack){

		return this.takeable_give_conditions(pc, drop_stack);
	},
	"handler"			: function(pc, msg, suppress_activity){

		return this.takeable_give(pc, msg);
	}
};

verbs.drop = { // defined by takeable
	"name"				: "drop",
	"ok_states"			: ["in_pack"],
	"requires_target_pc"		: false,
	"requires_target_item"		: false,
	"include_target_items_from_location"		: false,
	"is_default"			: false,
	"is_emote"			: false,
	"sort_on"			: 52,
	"tooltip"			: "Drop it on the ground",
	"is_drop_target"		: false,
	"conditions"			: function(pc, drop_stack){

		return this.takeable_drop_conditions(pc, drop_stack);
	},
	"handler"			: function(pc, msg, suppress_activity){

		return this.takeable_drop(pc, msg);
	}
};

function getDescExtras(pc){
	var out = [];
	return out;
}

var tags = [
	"no_rube",
	"no_trade",
	"no_auction",
	"artifact",
	"collectible"
];


// this is a temporary fix, while the client doesn't load item defs
// from the XML files. we pass this data on login events.

function getAssetInfo(){
	return {
		'position': {"x":-19,"y":-42,"w":37,"h":43},
		'thumb': "iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM\/rhtAAAIW0lEQVR42u2YWVOb5xXH8w180elV\nUywwttkFSGhBaJdAG2hfAIEkQGwCiU2A2SQWmd3YYKgXXAxecBzX4ODGxI1D62x20wn1TNJe+iPw\nEf59nseBqWd6Ebz2ws\/MmffVeyH95n\/O\/5zz6qOPPpwP53Dnh7\/cM8eb\/Runass3euqdR\/5vwHZ3\ntiLri1PPxyJBJFpqWEy31+\/OhGqPvlewf\/346OjtC7M7s90hxBurMU+ulwbacSXWhbXTA1hN9O9N\nhmt97wXu2dcPYovxbiz2tmJ5qBOXBztYrI32YnWkhz1b6GlBl8+B9wC3HXmwfgXnos1MLarcHLlf\niUfZ5+tEvavD3Vge7kRzhQXKgmz5O4P799Onv\/npyc7ek+27WJ8ZxPXJXlyOdzC1Fk+FmXproz24\nMdmHe388C49JC5WIH3tngD8\/2Vl59s0X+PGv9\/GPR\/ewvbZEau0U1ueG8eUny\/j2\/jq++\/MtfHXv\nJrpCtVDyc6BTyp6\/G1P8\/Sv59w9uY\/vaPB7eXMKDtQVsXTqDhzf+gJ+f7uDx5g2snj2Nka4Q6txm\nqAgcBZQXCiFV6t9+mp99+3Dn7tIYPj03RCDPY+vyHLs+un0ZW6tLiHjKECjVHoRVW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ukCt5OSw1dEzRTcShlrAJQSNoeWEcY7EGMpkMycnHdlI4nFj2yWNmXkrKu\/kbLjft\nmC8zOWmPjica9KWcjjEaZlKHGqWM1FjhrlgqfXf\/w\/yvk5n8O24mJ8mXkZIUy0hO2qWwOamcvfy0\n1NhHH86Hc7jzH3bgo+TOlDrsAAAAAElFTkSuQmCC",
	};
};

var itemDef = {
	label		: this.label,
	name_plural	: this.name_plural,
	stackmax	: this.stackmax,
	is_hidden	: this.is_hidden,
	has_info	: this.has_info,
	adjusted_scale	: this.adjusted_scale,
	asset_swf_v	: "http:\/\/c2.glitch.bz\/items\/2012-12\/artifact_bag_of_tent_pegs-1354846617.swf",
	admin_props	: false,
	obey_physics	: true,
	in_background	: false,
	in_foreground	: false,
	has_status	: false,
	not_selectable	: false,
};

if (this.consumable_label_single) itemDef.consumable_label_single = this.consumable_label_single;
if (this.consumable_label_plural) itemDef.consumable_label_plural = this.consumable_label_plural;

itemDef.verbs = {
};
itemDef.hasConditionalVerbs = 1;
itemDef.emote_verbs = {
};
itemDef.hasConditionalEmoteVerbs = 0;
itemDef.tags = [
	"no_rube",
	"no_trade",
	"no_auction",
	"artifact",
	"collectible"
];
itemDef.keys_in_location = {
	"p"	: "pickup"
};
itemDef.keys_in_pack = {
	"r"	: "drop",
	"g"	: "give"
};

log.info("artifact_bag_of_tent_pegs.js LOADED");

// generated ok 2012-12-07 18:51:53 by ali
